#pragma once

#define WIN32_LEAN_AND_MEAN
#include <Windows.h>
#include <string>
using namespace std;

#include "clkVec2.h"

class clkApplication
{
protected:
	string    m_appName;
	HWND      m_appHwnd;
	HINSTANCE m_appHinstance;
	DWORD     m_appProperties;
	V2DF      m_appCoordinate;
	V2DF      m_appRDimension;
	V2DF      m_appCDimension;
public:
	clkApplication();
	~clkApplication();

	void initApplication(
		char* a_name,
		V2DF  a_coordinate,
		V2DF  a_dimension);
	void shutApplication();
	bool exit();

	const char* getAppName(){return m_appName.c_str();}
	HWND  getAppHwnd(){return m_appHwnd;}
	V2DF  getAppRDimension(){return m_appRDimension;}
	float getAppRWidth(){return m_appRDimension.x;}
	float getAppRHeight(){return m_appRDimension.y;}
	V2DF  getAppCDimension(){return m_appCDimension;}
	float getAppCWidth(){return m_appCDimension.x;}
	float getAppCHeight(){return m_appCDimension.y;}
};